package com.itheima.mapper;

import com.itheima.pojo.OperateLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OperateLogMapper {
    /**
     * 新增操作日志
     *
     * @param operateLog
     */
    void insert(OperateLog operateLog);

    /**
     * 分页查询操作日志
     *
     * @return
     */
    List<OperateLog> list();
}

